<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form class="layui-form" lay-filter="userForm" id="add_ypgl_form" action="" style="padding:15px 10px;">
    <input type="hidden" name="ypid">
    <div class="layui-form-item">
        <label class="layui-form-label">药品名称：</label>
        <div class="layui-input-block">
            <input type="text" name="ypname" required  lay-verify="required" placeholder="请输入药品名称" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">制药厂：</label>
        <div class="layui-input-block">
            <input type="text" name="zyc" required  lay-verify="required" placeholder="请输入制药厂" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">药品单位：</label>
        <div class="layui-input-block">
            <input type="text" name="ypdw" required  lay-verify="required" placeholder="请输入药品单位支/盒" autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">零售价：</label>
        <div class="layui-input-block">
            <input type="text" name="yplsj" required  lay-verify="required" placeholder="请输入药品零售价" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">药品库存：</label>
        <div class="layui-input-block">
            <input type="text" name="ypkc" required  lay-verify="required" placeholder="请输入药品库存" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">药品说明：</label>
        <div class="layui-input-block">
            <textarea id="demo"  name="ypshuoming" placeholder="请输入药品说明" style="display: none;"></textarea>
        </div>
    </div>

</form>

<script>
        layui.layedit.build('demo'); //建立编辑器
</script>
</body>
</html>
